package cn.tianya.irock.util;


import java.util.ArrayList;
import java.util.List;

import cn.tianya.irock.data.model.Post;

public class PostSet {
	
	private List<Post> posts = new ArrayList<Post>();
	private List<PageUrl> urls = new ArrayList<PageUrl>();
	private String firstUrl;
	private String nextUrl;
	private String lastUrl;
	
	public void add(Post post) {
		this.posts.add(post);
	}
	
	public List<Post> getPosts() {
		return this.posts;
	}
	
	public void addUrl(PageUrl pu) {
		this.urls.add(pu);
	}
	
	public List<PageUrl> getUrls() {
		return this.urls;
	}

	public String getFirstUrl() {
		return firstUrl;
	}

	public void setFirstUrl(String firstUrl) {
		this.firstUrl = firstUrl;
	}

	public String getNextUrl() {
		return nextUrl;
	}

	public void setNextUrl(String nextUrl) {
		this.nextUrl = nextUrl;
	}

	public String getLastUrl() {
		return lastUrl;
	}

	public void setLastUrl(String lastUrl) {
		this.lastUrl = lastUrl;
	}
}
